package com.example.qxfw.qxxx.service.impl;

import com.example.qxfw.common.entity.qx.MsgOtherMinute;
import com.example.qxfw.qxxx.mapper.MsgOtherMinuteMapper;
import com.example.qxfw.qxxx.service.MsgOtherMinuteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MsgOtherMinuteServiceImpl implements MsgOtherMinuteService {

    @Autowired
    private MsgOtherMinuteMapper msgOtherMinuteMapper;

    @Override
    public List<MsgOtherMinute> getList(String selElement, String selWindD, String startTime, String endTime, String dbName, String windDElement, String sql) {
        return msgOtherMinuteMapper.selectList(selElement,selWindD,startTime,endTime,dbName,windDElement,sql);
    }

    @Override
    public List<MsgOtherMinute> getList1(String selElement, String startTime, String endTime, String dbName, String sql) {
        return msgOtherMinuteMapper.selectList1(selElement, startTime, endTime, dbName, sql);
    }
}
